import logger from './logger.js';
module.exports = {
	http: {
		port: 3041
	},
	debug: false,
	database: {
		'url': 'mysql://root:sunqi@127.0.0.1:3306/wxrd',
		'dialect': 'mysql',
		'username': 'root',
		"password": 'sunqi',
		"database": 'wxrd',
		'host': '127.0.0.1',
		'port': 3306,
		'params': {
			'timezone': '+08:00',
			"dialectOptions": {
				charset: "utf8mb4",
				collate: "utf8mb4_unicode_ci",
				supportBigNumbers: true,
				bigNumberStrings: true
			},
			'pool': {
				max: 5,
				min: 0,
				idle: 10000
			},
			define: {
				underscored: true
			}
		}
	},
	redis: {
		host: '127.0.0.1',
		port: '6379',
		db: 0,
		password: 'yunxiaoxin_db'
	},

};
